package com.gitee.business.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-12-20
 */
@TableName("ACCOUNT_PAYLOG")
public class AccountPaylog extends Model<AccountPaylog> {

    private static final long serialVersionUID = 1L;

    @TableId("PAYLOG_ID")
	private String paylogId;
	@TableField("TRADE_ID")
	private String tradeId;
	@TableField("ORI_TRADE_ID")
	private String oriTradeId;
	@TableField("PID")
	private String pid;
	@TableField("U_ID")
	private String uId;
	@TableField("TYPE")
	private String type;
	@TableField("TRADE_TYPE")
	private String tradeType;
	@TableField("FUNDS_FROM")
	private String fundsFrom;
	@TableField("FUNDS_TO")
	private String fundsTo;
	@TableField("FILL_RMB")
	private String fillRmb;
	@TableField("CONSUME_RMB")
	private String consumeRmb;
	@TableField("BALANCE")
	private String balance;
	@TableField("STATE")
	private String state;
	@TableField("TRADE_MODE")
	private String tradeMode;
	@TableField("REMARK")
	private String remark;
	@TableField("TRADE_TIME")
	private Date tradeTime;
	@TableField("CREATE_TIME")
	private Date createTime;
	@TableField("POSTING_TIME")
	private Date postingTime;
	@TableField("LAST_UPDATE_TIME")
	private Date lastUpdateTime;
	@TableField("COR_TYPE")
	private String corType;
	@TableField("OPERATE_TYPE")
	private String operateType;
	@TableField("FREEZE_AMOUNT")
	private String freezeAmount;
	@TableField("ROLLBACK_STATE")
	private String rollbackState;
	@TableField("BANK")
	private String bank;
	@TableField("TRADE_AMOUNT")
	private String tradeAmount;
	@TableField("PAY_ID")
	private String payId;
	@TableField("PLATFORM_TYPE")
	private String platformType;
	@TableField("CHARGE_AMOUNT")
	private String chargeAmount;
    /**
     * 01:未同步;02:已同步
     */
	@TableField("SYN_STATUS")
	private String synStatus;


	public String getPaylogId() {
		return paylogId;
	}

	public void setPaylogId(String paylogId) {
		this.paylogId = paylogId;
	}

	public String getTradeId() {
		return tradeId;
	}

	public void setTradeId(String tradeId) {
		this.tradeId = tradeId;
	}

	public String getOriTradeId() {
		return oriTradeId;
	}

	public void setOriTradeId(String oriTradeId) {
		this.oriTradeId = oriTradeId;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getuId() {
		return uId;
	}

	public void setuId(String uId) {
		this.uId = uId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}

	public String getFundsFrom() {
		return fundsFrom;
	}

	public void setFundsFrom(String fundsFrom) {
		this.fundsFrom = fundsFrom;
	}

	public String getFundsTo() {
		return fundsTo;
	}

	public void setFundsTo(String fundsTo) {
		this.fundsTo = fundsTo;
	}

	public String getFillRmb() {
		return fillRmb;
	}

	public void setFillRmb(String fillRmb) {
		this.fillRmb = fillRmb;
	}

	public String getConsumeRmb() {
		return consumeRmb;
	}

	public void setConsumeRmb(String consumeRmb) {
		this.consumeRmb = consumeRmb;
	}

	public String getBalance() {
		return balance;
	}

	public void setBalance(String balance) {
		this.balance = balance;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getTradeMode() {
		return tradeMode;
	}

	public void setTradeMode(String tradeMode) {
		this.tradeMode = tradeMode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getTradeTime() {
		return tradeTime;
	}

	public void setTradeTime(Date tradeTime) {
		this.tradeTime = tradeTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getPostingTime() {
		return postingTime;
	}

	public void setPostingTime(Date postingTime) {
		this.postingTime = postingTime;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getCorType() {
		return corType;
	}

	public void setCorType(String corType) {
		this.corType = corType;
	}

	public String getOperateType() {
		return operateType;
	}

	public void setOperateType(String operateType) {
		this.operateType = operateType;
	}

	public String getFreezeAmount() {
		return freezeAmount;
	}

	public void setFreezeAmount(String freezeAmount) {
		this.freezeAmount = freezeAmount;
	}

	public String getRollbackState() {
		return rollbackState;
	}

	public void setRollbackState(String rollbackState) {
		this.rollbackState = rollbackState;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getTradeAmount() {
		return tradeAmount;
	}

	public void setTradeAmount(String tradeAmount) {
		this.tradeAmount = tradeAmount;
	}

	public String getPayId() {
		return payId;
	}

	public void setPayId(String payId) {
		this.payId = payId;
	}

	public String getPlatformType() {
		return platformType;
	}

	public void setPlatformType(String platformType) {
		this.platformType = platformType;
	}

	public String getChargeAmount() {
		return chargeAmount;
	}

	public void setChargeAmount(String chargeAmount) {
		this.chargeAmount = chargeAmount;
	}

	public String getSynStatus() {
		return synStatus;
	}

	public void setSynStatus(String synStatus) {
		this.synStatus = synStatus;
	}

	@Override
	protected Serializable pkVal() {
		return this.paylogId;
	}

	@Override
	public String toString() {
		return "AccountPaylog{" +
			"paylogId=" + paylogId +
			", tradeId=" + tradeId +
			", oriTradeId=" + oriTradeId +
			", pid=" + pid +
			", uId=" + uId +
			", type=" + type +
			", tradeType=" + tradeType +
			", fundsFrom=" + fundsFrom +
			", fundsTo=" + fundsTo +
			", fillRmb=" + fillRmb +
			", consumeRmb=" + consumeRmb +
			", balance=" + balance +
			", state=" + state +
			", tradeMode=" + tradeMode +
			", remark=" + remark +
			", tradeTime=" + tradeTime +
			", createTime=" + createTime +
			", postingTime=" + postingTime +
			", lastUpdateTime=" + lastUpdateTime +
			", corType=" + corType +
			", operateType=" + operateType +
			", freezeAmount=" + freezeAmount +
			", rollbackState=" + rollbackState +
			", bank=" + bank +
			", tradeAmount=" + tradeAmount +
			", payId=" + payId +
			", platformType=" + platformType +
			", chargeAmount=" + chargeAmount +
			", synStatus=" + synStatus +
			"}";
	}
}
